package creditsProject.server.dao;

import java.util.List;

import creditsProject.dto.Credit;
import creditsProject.dto.RequestDto;

public interface RequestDao {

	public RequestDto getRequestById(int id);
	
	public List<RequestDto> getAllRequests();
	
	public List<RequestDto> getAllRequestsOfUser(int phone);
	
	public void ApproveRequests(List<Integer> id);
	
	public void DeclineRequests(List<Integer> id);
	
	public void CreateRequests(List<Integer> id, int phone);
	
	
	
}
